# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>

pkgname=libidl2
pkgver=0.8.14
pkgrel=6
pkgdesc="A front-end for CORBA 2.2 IDL and Netscape's XPIDL"
arch=('x86_64')
license=('LGPL')
depends=('glib2' 'texinfo')
makedepends=('pkg-config')
options=('!emptydirs')
source=(https://download.gnome.org/sources/libIDL/0.8/libIDL-${pkgver}.tar.bz2)
url="http://www.gnome.org"
sha256sums=('c5d24d8c096546353fbc7cedf208392d5a02afe9d56ebcc1cccb258d7c4d2220')

build() {
  cd "${srcdir}/libIDL-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/libIDL-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
